<div ng-controller="FenxiaogradeCtrl" ng-init="addAction()" class="sui-form form-horizontal">
    <form name="fenxiaogradeForm" novalidate ng-submit="FenxiaogradeAdd()">
        <ul class="sui-breadcrumb">
            <li><a href="#/fenxiaograde/list">{{'distributor_grade' | translate}}{{'List'| translate}}</a></li>
            <li class="active">{{fenxiaograde.grade_id?'edit':'add_new' | translate}}</li>
        </ul>
        <div class="control-group" ng-if="fenxiaograde.grade_id">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'grade_id' | translate}}:</label>
            <div class="controls">
                {{fenxiaograde.grade_id}}
            </div>
        </div>
   
         <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'Name' | translate}}:</label>
            <div class="controls">
                <input type="text" name="name" ng-model="fenxiaograde.name" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'grade_value' | translate}}:</label>
            <div class="controls">
                <input type="number" name="value" ng-model="fenxiaograde.value" class="
                input-xlarge">
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'distributor_outnumber' | translate}}:</label>
            <div class="controls">
                <input type="number" name="number" ng-model="fenxiaograde.number" class="
                input-xlarge">
            </div>
        </div>
<!--         <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'discount' | translate}}:</label>
            <div class="controls">
                <input type="number" name="discount" ng-model="fenxiaograde.discount" class="
                input-xlarge">
            </div>
        </div> -->
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'amount' | translate}}:</label>
            <div class="controls">
                <input type="text" name="amount"  ng-model="fenxiaograde.amount" class="
                input-xlarge"  smart-float >
            </div>
        </div>
      <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'count' | translate}}:</label>
            <div class="controls">
                <input type="text"  name="count" ng-model="fenxiaograde.count" class="
                form-control"  smart-float>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!fenxiaogradeForm.$valid">
                    <span>{{'save'|translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>
